PROJECT(EffectCompositor)

SET(EFFECTCOMPOSITOR_SRC_FILES
	EffectCompositor.cpp
	EffectCompositorXML.cpp
	XmlParser.cpp
)

SET(EFFECTCOMPOSITOR_HEADER_FILES
	EffectCompositor
	XmlParser
)

SOURCE_GROUP("Header Files" FILES ${EFFECTCOMPOSITOR_HEADER_FILES})
SOURCE_GROUP("Source Files" FILES ${EFFECTCOMPOSITOR_SRC_FILES})

ADD_LIBRARY(EffectCompositor STATIC ${EFFECTCOMPOSITOR_HEADER_FILES} ${EFFECTCOMPOSITOR_SRC_FILES})

# Add debug postfix to OSG libraries so we link to the right ones in debug.
TARGET_LINK_LIBRARIES(EffectCompositor
	debug     osgUtil${CMAKE_DEBUG_POSTFIX}
	optimized osgUtil
)

